.TH configpxe 8 "@META_DATE@" "@META_ALIAS@" "@META_NAME@"
.SH NAME
configpxe \- update /boot/pxelinux.cfg 
.SH SYNOPSIS
.B configpxe
.I "[-f configfile] [-a kver | -d kver | -l]"
.SH DESCRIPTION
Edit the pxelinux.cfg file when a new kernel is installed or removed.
.SH OPTIONS
The following options may be specified on the command line:
.TP
.I "-f filename"
Override the default config file path of /boot/pxelinux.cfg.
.TP
.I "-l"
List the labels for available boot options.
.TP
.I "-a kver"
Add the \fIlinux-kver\fR stanza.
The \fIlinux\fR stanza is used as a template:
\fI-kver\fR is appended to the vmlinuz and initramfs file names.
.TP
.I "-d kver"
Delete the \fIlinux-kver\fR stanza.
.SH CAVEATS
The \fIlinux\fR stanza is special as it is used as a template for additions.
\fBconfigpxe\fR will abort if it does not contain a \fIkernel\fR line
containing only \fIvmlinuz\fR (no version), and an \fIappend\fR line
containing \fIinitrd=initramfs\fR (no version) in any position.
.LP
\fBnfsroot\fR maintains /boot/vmlinuz and /boot/initramfs
symlinks that point to the most recently installed kernels,
so it is resonable to set the pxelinux.cfg \fIdefault\fR entry to \fIlinux\fR.
However, the default setting is ignored by \fBconfigpxe\fR and may be changed
if desired.
.SH "FILES"
/boot/pxelinux.cfg
.SH "SEE ALSO"
